got rid of index_dev checking and empty line in controllers file