resolve strange bug