fixing utility function
fixing some function