Samsung CDRW 232B

I bought a second hand Samsung CDRW drive but it seems messed up and wonderd if anyone else had these sytems. It wont turn on unless i use a pin to pop the door of the drive open then turn on the computer its very strange and when it does work it reads cds etc but sometimes wont turn on when drive door is closed.