fixed a nasty crash