adding fix for no method exception