fix after copying from server