resolving linux errors