strange behauvior in mysql probably need to change this when using latest mysql cookbook