bugfix - works on laptop, not on server