fixing return statement for fill