Fixed major bugs on backend, now displays properly