Its always the simple thing which causes the bug isn't it.