fix problem with connect to database, add change marker color