fix for issue #1144

Dont think it's really important