removed empty lines from controller