fix karma test starting error