Fixing Custard displaying blank pages