Fixing a bug with top property #40