fix modifier for parse method