fixed pheanstalk class