remove cast to byte as overflow has been fixed