fixed bug in server delivery