fix pleft bugs