bugfix reading appointments and periods
regards new location flag