fixing some errros