ok guys I resolved this problem.
When I was using permalink like %postname% wordpress detect content not as post or page as I thought before but as attachment. Changing permalink to /%category%/%postname% resolved my problem.
Anyway this is really strange… why wordpress treated my post content like attachment? Both of this content have different ID’s but same name, shouldn’t wordpress recognize the difference between items?