fixing function definiadding lval del