hex validation added for callback inputs