Removed commented out code used for debugging because problem was fixed