fixed more frontend bugs