fixed some issues
restrict make to just database file