Faulty home view fixed

minor bug fixes