Working on it. The problem is that the behaviour is different in my computer and in the server so I can't test it in local.