fixed standalone mode, which was broken