fix writer command