fixed hex errors