fix lion error