solving some check warnings