fixes error in post