Custom error pages, fixed nick bug