fixing weird passing in of a single param as an array for post.save hook