removed die() command that shouldnt of been there