filled empty variables if no post id in url