fixed 2 warnings @ frontend
fixed 2 warnings