Quick fix for the page type callback.