removed some redundant code from placeholder on home view