Modifying the warnings with Getval()