fixing compilcation issues