fixing a crash and screen size behaviour