Removed debugging pring, fixed bug #2