Removing unwanted space between code