cleaning up result