some bug with linked files