fixed some warning output