Updated a bug in post rake task