bug fix when looking for .ui file