successfully solved the alert misplaced problem