Fix sad case for creating post attachment