1192 ghost table rename fails

this fixes #1192