fixed make errors