Fixes CID #1192560 #1192561 #1192562