simple data type fix thanks Robert Scheitlin