added some new checks for $post_price and 'type'-Key #231