fixes popup