printing works but error with loading into right bucket