fix leftover parsing and use proper constant