fixed the issues with the mirrored app not starting first time
merged border properties
using strict