Thanks to txgruppi@gmail.com for the patch.