tweak custom post type as it wasn't working on live site