fixes some nugs