error shown in put functions