another sql issue in jappixmini