fixing chmod to 644