changed stuff in css and fixed err message bug