nicify code (get rid of annoying warnings)