Stack overflow issue with launcher