Bugzilla #285,#224,#392