fixed check warnings