added select to add new post, but still have problems