direction and make function correction