fixing some function