fixed some issues with the launcher