Bug with print fixed