Dirty fix to make it work on some servers