Fixed Warning bug