resolved bug in server