Fixing a 522 error

Same answer as the one which was given in the thread you had posted in