fixed convert_data bug where values were exceeding 15, also used linter on code