Fixed problem with guard pages