file fix

the uneeded are removed and tablemodeltime is finished, have to call it
from the mainview