fix post versions controller