Remove isset Checking If you set it's POST value in check_posts function