frontend bug fixes