Fixed strange code