fixes for check